Standard Arc Length

Aside: Without an introduction to integral calculus, this section may be too much. However, you should be able to understand the ideas as well as the numerical approximations.

Just as we have a formula for the length of a line, the distance formula, we can also develop a formula for the length of a curve. In this section, we will only be able to find the length of a curve between two points on the curve (in two dimensions) and when we have an equation for the curve. Also, we will stay in two dimensions.

LineSegments.png
Figure 1: Curve approximated by a few straight lines. By using the distance formula the curve length is approximately the sum of the line segment lengths. Obviously the more line segments that are used, the closer will be the approximation.

Figure 1 shows a curve approximated by line segments. The length of the curve is approximately the sum of the lengths of the segments and as more and more segments are added, the approximation will become more precise. The length of each segment is computed by the distance formula. $$ \begin{aligned} & |S_{i-1} - S_{i}|= \\ & \sqrt{(x_{i}-x_{i-1})^{2}+(y_{i}-y_{i-1})^{2}} \end{aligned} \tag*{$\class{red}{(1)}$} \label{1}$$ Equation $\ref{1}$ can be rewritten as $$\left| S_{i-1} - S_{i}\right|=\sqrt{\Delta x^{2}+\Delta y^{2}} \tag{2} \label{2}$$ By the mean value theorem we can rewrite $\Delta y=f^{\prime}(x_{c})\cdot\Delta x$, where $c$ is a special value along the curve that causes the tangent at that point to be equal to the segment slope from $S_{i-1}$ to $S_{i}$. However, and very important, since this is an approximation anyway, as we choose more and more intervals, the value $x_{c},$ gets ever closer to each other for all possible choices. Consequently, we can choose the left or right endpoint of the interval, or the middle, or any consistent choice within the interval. At the limit, where $\Delta x\approx 0,$ there is but one choice. $$\vert S_{i-1}-S_{i}\vert=\sqrt{\Delta x^{2}+\left(f^{\prime}(x_{c})\cdot\Delta x\right)^{2}} \tag{3} \label{3}$$ Factoring out $(\Delta x)^{2}$ and getting $\Delta x$ out from under the radical, we can express the length of each segment. $$\vert S_{i-1}-S_{i}\vert=\Delta x\sqrt{1+\left(f^{\prime}(x_{c})\right)^{2}} \tag{4} \label{4}$$ It should be obvious that the length of the curve is the sum of the $n$ segment lengths. $$\sum_{i=1}^{n}\vert S_{i-1}-S_{i}\vert \tag{5} \label{5}$$ Without integral calculus, we might stop here and write computer code to get a quite good numerical answer. With calculus, we can go a step further.

Thus looking only at the right side of $\eqref{4}$ we can replace $f'(x_{c})$ with $dy/dx.$ $$=\Delta x\cdot\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}$$ Now, using the definite integral as the limit of sums $$\text{Arc Length }=\lim\sum\vert S_{i-1}-S_{i}\vert_{i=1}^{\infty}=\int_{a}^{b}\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\,dx \tag{6} \label{6}$$ where limits $a$ and $b$ represent the $x$ value (abscissa) endpoints of the function arc segment. This works well for $y=f(x)$ or if we want to just turn the graph sideways, then $x=g(y),$ but we have to be careful to only calculate arcs from true functions that do not have multiple values at a single abscissa or ordinate point. If we try to use this to compute the length of a spiral it will not go well. There is, however, a way to do that using parametric equations.

Exercise: Given the line $y=x+2$ and point $A=(1,3)\quad B=(4,6),$ obtain the distance between the points using the integral for standard arc length. Show that it is the same as would be found using the Euclidean norm.

Example 1: Given the function $$f(x)=\frac{1}{18}x^{9}+\frac{1}{14x^{7}}.$$ Find the arc length from $x=0.7$ to $x=1.3.$ Verify the answer with an estimate of summed pieces. (Although these equations are seldom integrable without numerical methods, this one is.)

Example 2: Given $y(x)=2e^{-5x},$ find the length of the curve between $x=0$ and $x=2.$
Example 3: Find the circumference for the ellipse given by $$\frac{x^{2}}{4}+\frac{y^{2}}{0.25}=1 \tag*{$\class{blue}{(7)}$} \label{7}$$